Add ZFS libfsimage support patch
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 1 May 2008 15:38:56 +0000 (16:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 1 May 2008 15:38:56 +0000 (16:38 +0100)
commit622e368758b626b4567237395e5217761efb43d8
tree84dc079d5cd0527975c092816ecb259f7f21ae34
parent3e3b5e2b2aa8a64f6520876a310d040784f5f6bf
Add ZFS libfsimage support patch

Add support to pygrub and libfsimage to boot ZFS root filesystems.
Boot argument of zfs-bootfs is set to describe ZFS root pool and
boot filesystem object number.  Boot argument bootpath is set to
describe the virtual device root mirror components.

Signed-off-by: Susan Kamm-Worrell <susan.kamm-worrell@sun.com>
33 files changed:
tools/libfsimage/Makefile
tools/libfsimage/common/fsimage.c
tools/libfsimage/common/fsimage.h
tools/libfsimage/common/fsimage_grub.c
tools/libfsimage/common/fsimage_grub.h
tools/libfsimage/common/fsimage_priv.h
tools/libfsimage/common/mapfile-GNU
tools/libfsimage/common/mapfile-SunOS
tools/libfsimage/zfs/Makefile [new file with mode: 0644]
tools/libfsimage/zfs/fsys_zfs.c [new file with mode: 0644]
tools/libfsimage/zfs/fsys_zfs.h [new file with mode: 0644]
tools/libfsimage/zfs/mb_info.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/dmu.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/dmu_objset.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/dnode.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/dsl_dataset.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/dsl_dir.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/spa.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/uberblock_impl.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/vdev_impl.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zap_impl.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zap_leaf.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zfs.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zfs_acl.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zfs_znode.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zil.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zio.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs-include/zio_checksum.h [new file with mode: 0644]
tools/libfsimage/zfs/zfs_fletcher.c [new file with mode: 0644]
tools/libfsimage/zfs/zfs_lzjb.c [new file with mode: 0644]
tools/libfsimage/zfs/zfs_sha256.c [new file with mode: 0644]
tools/pygrub/src/fsimage/fsimage.c
tools/pygrub/src/pygrub